<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width;height=device-height;">
    <meta name="viewport" content="initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
    <title>支付结果</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei"
        }

        body, html {
            width: 100%;
            height: 100%;
        }

        .head {
            height: 50px;
            color: #fff;
            text-align: center;
            line-height: 50px;
            font-size: 16px;
            position: relative;
            background: #2c81ff;
        }

        .head_return {
            /*float:left;*/
            position: absolute;
            top: 0px;
            left: 0px;
            /*background:center url(Images/return.png) no-repeat;*/
            width: 50px;
            height: 50px;
            background-size: 12px;
        }

        .main {
            width: 100%;
            height: 300px;
            /*height:calc(100% - 120px);*/
        }

        .icon {
            height: 130px;
            width: 100px;
            margin: auto;
        }

        .success_icon {
            background: top 50px center url(/assets/success.png) no-repeat;
            background-size: 54px auto
        }



        .div_btn {
            width: 50%;
            margin: auto;
            height: 44px;
            margin-top: 50px
        }

        .btn_link {
            border-radius: 5px;
            height: 100%;
            width: 100%;
            background: #409eff;
            border: 1px solid #409eff;
            display: block;
            border-radius: 5px;
            line-height: 44px;
            color: #fff;
            text-align: center;
        }

        .btn_link_blue {
            border-radius: 5px;
            height: 100%;
            width: 100%;
            background: #409eff;
            border: 1px solid #409eff;
            display: block;
            border-radius: 5px;
            line-height: 50px;
            color: #fff;
            text-align: center;
            display: none
        }

        a:active, a:before, a:hover, a {
            text-decoration: none;
        }

        .msg {
            text-align: center;
            width: 100%;
            font-size: 14px;
            color: #5e6d82;
            line-height: 1.5em;
        }
    </style>
    <script>
        function return_back() {
            window.history.back()
        }
        function backWin() {


            try {

                window.AlipayJSBridge.call('closeWebview')
            }
            catch (e) {

            }

            if (typeof WeixinJSBridge == "undefined") {
                if (document.addEventListener) {
                    document.addEventListener('WeixinJSBridgeReady', closeWin, false);
                } else if (document.attachEvent) {
                    document.attachEvent('WeixinJSBridgeReady', closeWin);
                    document.attachEvent('onWeixinJSBridgeReady', closeWin);
                }
            }
            else {

                closeWin();
            }
        }

        function closeWin() {
            try {
                WeixinJSBridge.call('closeWindow');
            }
            catch (e) {
                window.AlipayJSBridge.call('closeWebview')
            }

        }
        function getUrlParam(name) { //获取url 的参数
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) {
                return decodeURI(r[2]);
            }
            return null;
        }
        window.onload = function () {
            var msg = getUrlParam("msg");
            document.getElementById("msg").innerHTML = msg
        }

    </script>
</head>
<body>

    <div class="main">
        <div class="icon success_icon">

        </div>
        <div class="msg" id="msg">交易成功</div>

        <div class="div_btn">
            <a href="javascript:backWin()" class="btn_link">确定</a>
        </div>

    </div>



<audio controls="controls" style="display: none;"></audio>
</body>
<!--<style type="text/css">#yddContainer{display:block;font-family:Microsoft YaHei;position:relative;width:100%;height:100%;top:-4px;left:-4px;font-size:12px;border:1px solid}#yddTop{display:block;height:22px}#yddTopBorderlr{display:block;position:static;height:17px;padding:2px 28px;line-height:17px;font-size:12px;color:#5079bb;font-weight:bold;border-style:none solid;border-width:1px}#yddTopBorderlr .ydd-sp{position:absolute;top:2px;height:0;overflow:hidden}.ydd-icon{left:5px;width:17px;padding:0px 0px 0px 0px;padding-top:17px;background-position:-16px -44px}.ydd-close{right:5px;width:16px;padding-top:16px;background-position:left -44px}#yddKeyTitle{float:left;text-decoration:none}#yddMiddle{display:block;margin-bottom:10px}.ydd-tabs{display:block;margin:5px 0;padding:0 5px;height:18px;border-bottom:1px solid}.ydd-tab{display:block;float:left;height:18px;margin:0 5px -1px 0;padding:0 4px;line-height:18px;border:1px solid;border-bottom:none}.ydd-trans-container{display:block;line-height:160%}.ydd-trans-container a{text-decoration:none;}#yddBottom{position:absolute;bottom:0;left:0;width:100%;height:22px;line-height:22px;overflow:hidden;background-position:left -22px}.ydd-padding010{padding:0 10px}#yddWrapper{color:#252525;z-index:10001;background:url(chrome-extension://eopjamdnofihpioajgfdikhhbobonhbb/ab20.png);}#yddContainer{background:#fff;border-color:#4b7598}#yddTopBorderlr{border-color:#f0f8fc}#yddWrapper .ydd-sp{background-image:url(chrome-extension://eopjamdnofihpioajgfdikhhbobonhbb/ydd-sprite.png)}#yddWrapper a,#yddWrapper a:hover,#yddWrapper a:visited{color:#50799b}#yddWrapper .ydd-tabs{color:#959595}.ydd-tabs,.ydd-tab{background:#fff;border-color:#d5e7f3}#yddBottom{color:#363636}#yddWrapper{min-width:250px;max-width:400px;}</style>-->
</html>